package com.cqie.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 操作人: 不吃海鲜
 * 时间: 2024/12/24 18:57
 */
@Data
public class MessageListDto {
    @ApiModelProperty("消息id")
    private Integer chatMessageId;

    @ApiModelProperty("发送者id")
    private Integer serderId;

    @ApiModelProperty("发送者姓名")
    private String serderName;

    @ApiModelProperty("发送者所属科室编码")
    private Integer serderdepartmentCode;
    @ApiModelProperty("发送者所属科室名称")
    private String serderdepartmentName;

    @ApiModelProperty("接收者id")
    private Integer receiverId;

    @ApiModelProperty("接收者姓名")
    private String receiverName;

    @ApiModelProperty("接收者年龄")
    private String receiverAge;

    @ApiModelProperty("接收者性别")
    private String receiverSex;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("会话记录id")
    private Integer sessionId;

    @ApiModelProperty("会话常见时间")
    private LocalDateTime createTime;

    @ApiModelProperty("会话更新时间")
    private LocalDateTime updateTime;
}
